package wxshop.api.user.dao;


import wxshop.api.user.model.Balances;
import wxshop.api.user.model.OrderRecord;

import java.util.List;

/**
 * Created by yvdedu.com on 2018/1/25.
 */
public interface BalancesDao {

	int getBalances (int id);//拿到user用户的余额
	
	int deleteOrderRecord (int id);//删除订单记录
	
	void insertBalances (Balances balances);//插入消费数据
	
	
	List<Balances> queryChangesDetailed (Balances input);//查询收入明细  用户id+状态1收入,2支出, 3提现 4充值*/
	
	
	List<OrderRecord> queryOrderRecord (OrderRecord input);//查询订单记录 1购物车, 2订单成功,   3订单取消  状态*/
	
	

}
